This page last changed on May 31, 2006 by tcarlson.

To configure a JBoss Jms connector for Mule use the following -

<connector name="jmsConnector" className="org.mule.providers.jms.JmsConnector">
    <properties>
        <property name="jndiInitialFactory"
          value="org.jnp.interfaces.NamingContextFactory"/>
       <property name="jndiProviderUrl" value="jnp://localhost/"/>
       <property name="connectionFactoryJndiName" value="java:/ConnectionFactory"/>
    </properties>
</connector>

Any provider-specific properties can be passed to the InitialContext for this connector using the jndiProviderProperties attribute. Use connectionFactoryProperties to set JBoss-specific properties on the ConnectionFactory.

Connection Credentials

If you use user creditials to connect to JBossMQ make sure that the user has the 'guest' role assigned to it. This will ensure that there are no issues if Temporary Topics or Queues (i.e. in RemoteSync calls) are used.

Document generated by Confluence on Nov 27, 2006 10:27